// TerrainMask.h: interface for the CTerrainMask class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TERRAINMASK_H__7A5D3875_5FB4_4CC6_8CA5_60B9357FC7EF__INCLUDED_)
#define AFX_TERRAINMASK_H__7A5D3875_5FB4_4CC6_8CA5_60B9357FC7EF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


struct COMPLINE
{
	WORD *line[5120];
	COMPLINE()
	{
		for (int i=0;i<5120;i++)
			line[i]=NULL;
	}
	~COMPLINE()
	{
		for (int i=0;i<5120;i++)
			if (line[i])delete line[i];
	}
};
#define MAX_LAYER 50
class CTerrainMask  
{
public:
	COMPLINE *layer[MAX_LAYER];
	void Init();
	CTerrainMask();
	virtual ~CTerrainMask();
	LPDIRECT3DTEXTURE9 orgmask[30];
};

#endif // !defined(AFX_TERRAINMASK_H__7A5D3875_5FB4_4CC6_8CA5_60B9357FC7EF__INCLUDED_)
